import Router from 'koa-router';
import addNewFriends from '../../../controller/api/chat/addNewFriends';
import searchFriends from '../../../controller/api/chat/searchFriends';

const chatRrouter = new Router();

// 搜索好友
chatRrouter.post('/searchFriends', searchFriends);

// 添加好友
chatRrouter.post('/addNewFriends', addNewFriends);

export default chatRrouter;